<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="vEcpAcceptorderList" checkbox="true" pagination="true" fitColumns="true"  sortName="id" actionUrl="vEcpAcceptorderController.do?datagrid" idField="id" fit="true" queryMode="group">
    <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单编号"  field="aoid" hidden="true" queryMode="group"  width="120"></t:dgCol>
    <t:dgCol title="挂单会员名称"  field="potradername"  query="true" queryMode="single"  width="120"></t:dgCol>
     <t:dgCol title="挂单编码"  field="pocode"  queryMode="single" query="true"  width="120"></t:dgCol>
   <t:dgCol title="商品名称"  field="commodityname"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="交易模式"  field="trademodeid"  hidden="true" queryMode="single"  dictionary="TRADEMODE"  width="120"></t:dgCol>
    <t:dgCol title="买卖类型"  field="direction"  queryMode="group"  dictionary="DIRECTION"  width="120"></t:dgCol>
   <t:dgCol title="挂单价格"  field="poprice"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="挂单数量"  field="poquantity"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单企业名称"  field="aotradername"  queryMode="single" query="true" width="120"></t:dgCol>
   <t:dgCol title="应单交易员"  field="aousername"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单价格"  field="aoprice"  query="true" queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单数量"  field="aoquantity"  query="true" queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单时间"  field="aodate"  formatter="yyyy-MM-dd"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="应单状态"  field="aostatusname"  queryMode="single"  width="120"></t:dgCol>
   <t:dgToolBar title="查看" icon="icon-search" url="vEcpAcceptorderController.do?goUpdate" funname="detail" height="500"></t:dgToolBar>
   <%-- <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> --%>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'vEcpAcceptorderController.do?upload', "vEcpAcceptorderList");
}

//导出
function ExportXls() {
	JeecgExcelExport("vEcpAcceptorderController.do?exportXls","vEcpAcceptorderList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("vEcpAcceptorderController.do?exportXlsByT","vEcpAcceptorderList");
}

 </script>
